Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Peer info for UI: Add context timeout in endpoint #2361

Merged
merged 4 commits into from
Dec 23, 2024
Merged

Conversation

Amogh-Bharadwaj
Copy link
Contributor

The edit peer button does not appear in the case where we run into connection timeouts when connecting to Postgres - as we hit a 1 minute gateway timeout in the UI
This PR sets a 30 second timeout on the endpoint to get peer info so that the endpoint errors out faster and the edit peer button is shown

Ideally we would decouple the edit button from this endpoint entirely though

@heavycrystal heavycrystal enabled auto-merge (squash) December 19, 2024 14:45
@heavycrystal heavycrystal merged commit af75526 into main Dec 23, 2024
9 checks passed
@heavycrystal heavycrystal deleted the peer-info-timeout branch December 23, 2024 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants